package com.fanco.learn_datastruct_leetcode.designpattern.visitor.demo1;

/**
 * @author qiaowang 2022/2/21
 * 描述
 */
public class Success extends Action{
    @Override
    public void getManResult(Man man) {
        System.out.println("男人给的评价是成功");
    }

    @Override
    public void getWomanResult(Woman woman) {
        System.out.println("女人给的评价是成功");
    }
}
